<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>BIBLIO: message_t Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">BIBLIO
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">message_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="message_t" -->
<p><code>#include &lt;<a class="el" href="comsock_8h_source.html">comsock.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmessage__t.html#a2088bcda29404ae1e84f99388bee473f">type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmessage__t.html#ae42a6394ce558e3e54470afd3862d9db">length</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmessage__t.html#a670e35a55f39260aab8a626b6ba04e82">buffer</a> [<a class="el" href="comsock_8h.html#ad7871643c05865c80f5d8050aead2b57">MAXBUF</a>]</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>Messaggio</h3>
<p>La struttura <code><a class="el" href="structmessage__t.html">message_t</a></code> rappresenta un messaggio</p>
<ul>
<li><code>type</code> rappresenta il tipo del messaggio</li>
<li><code>length</code> rappresenta la lunghezza in byte della parte significativa del campo <code>buffer</code> </li>
<li><code>buffer</code> del messaggio (puo' essere non significativo se length == 0, altrimenti sono significativo solo i primi <code>length</code> caratteri)</li>
</ul>
<hr/>
 </div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a670e35a55f39260aab8a626b6ba04e82"></a><!-- doxytag: member="message_t::buffer" ref="a670e35a55f39260aab8a626b6ba04e82" args="[MAXBUF]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="structmessage__t.html#a670e35a55f39260aab8a626b6ba04e82">message_t::buffer</a>[<a class="el" href="comsock_8h.html#ad7871643c05865c80f5d8050aead2b57">MAXBUF</a>]</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>buffer messaggio </p>

<p>Referenced by <a class="el" href="bibclient_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>, <a class="el" href="bibclient_8h.html#a50fe4e9320fbfcdc05ac4fa6a9b1df95">parse_option()</a>, <a class="el" href="testserv_8c.html#aa21e38cecec86e6cbfa136c13fae2155">printMessage()</a>, <a class="el" href="comsock_8h.html#a7342cc411ed1bd599f84d90d13ef4d86">receiveMessage()</a>, and <a class="el" href="comsock_8h.html#aa4a2380316658b900ce7086466887c4f">sendMessage()</a>.</p>

</div>
</div>
<a class="anchor" id="ae42a6394ce558e3e54470afd3862d9db"></a><!-- doxytag: member="message_t::length" ref="ae42a6394ce558e3e54470afd3862d9db" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int <a class="el" href="structmessage__t.html#ae42a6394ce558e3e54470afd3862d9db">message_t::length</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>lunghezza messaggio in byte </p>

<p>Referenced by <a class="el" href="bibclient_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>, <a class="el" href="bibclient_8h.html#a50fe4e9320fbfcdc05ac4fa6a9b1df95">parse_option()</a>, <a class="el" href="testserv_8c.html#aa21e38cecec86e6cbfa136c13fae2155">printMessage()</a>, <a class="el" href="comsock_8h.html#a7342cc411ed1bd599f84d90d13ef4d86">receiveMessage()</a>, and <a class="el" href="comsock_8h.html#aa4a2380316658b900ce7086466887c4f">sendMessage()</a>.</p>

</div>
</div>
<a class="anchor" id="a2088bcda29404ae1e84f99388bee473f"></a><!-- doxytag: member="message_t::type" ref="a2088bcda29404ae1e84f99388bee473f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="structmessage__t.html#a2088bcda29404ae1e84f99388bee473f">message_t::type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>tipo del messaggio </p>

<p>Referenced by <a class="el" href="bibclient_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a>, <a class="el" href="bibclient_8h.html#a50fe4e9320fbfcdc05ac4fa6a9b1df95">parse_option()</a>, <a class="el" href="testserv_8c.html#aa21e38cecec86e6cbfa136c13fae2155">printMessage()</a>, <a class="el" href="comsock_8h.html#a7342cc411ed1bd599f84d90d13ef4d86">receiveMessage()</a>, and <a class="el" href="comsock_8h.html#aa4a2380316658b900ce7086466887c4f">sendMessage()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/marco/workspace/biblio/src/<a class="el" href="comsock_8h_source.html">comsock.h</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jun 29 2012 10:36:44 for BIBLIO by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
